/**
 * @file
 * @description 封装组件
 */

import Myform from "./Form";
import ContentLayout from "com/ContentLayout";
import DialogForm from "./DialogForm";
import Dialog from "./Dialog";
import Table from "./Table";
import AdviceSearch from "./AdviceSearch";
import { myConfirm } from "./MyConfirm";

export default {
    install(Vue) {
        Vue.prototype.$confirm = myConfirm;
        [Myform, Table, AdviceSearch, ContentLayout, DialogForm, Dialog].forEach(item => Vue.component(item.name, item))
    }
}